<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<jsp:include page="Header.jsp"/>
<title>Insert title here</title>

	
	
<script src="${pageContext.request.contextPath}/resources/js/complete.min.js"
	type="text/javascript"></script>


	
<script>
$(document).ready(function() {
	$(function() {
		$(".date").datepicker();
		$("#accordion").accordion( "option", "autoHeight", false);
	});
});
</script>


</head>
<body>
<jsp:include page="AdminNav.jsp"/>
<h2>Edit Student page</h2>
<form:form method="POST" commandName="publicHoliday" action="${pageContext.request.contextPath}/Publicholiday/edit/${publicHoliday.publicHolidayid}.html" >
<table>
<tbody>
<tr>
<td>Date:</td>
<td><form:input type="date" class="date form-control" path="date"  /></td>
<td><form:errors path="date" cssStyle="color: red;"/></td>
</tr>
<tr>
<td>Name:</td>
<td><form:input path="name" class="form-control"/></td>
<td><form:errors path="name" cssStyle="color: red;"/></td>
</tr>
<tr>
<td></td>
<td class="pull-right"><input type="submit" value="Update" class="btn btn-primary" /></td>
<td></td>
</tr>
</tbody>
</table>

</form:form>
<jsp:include page="footer.jsp"/>
</body>
</html>